home *** CD-ROM | disk | FTP | other *** search
/ Amiga Packmags / NewsFlash - Issue 23 (1992-02)(UGA - NewsFlash Europe)(Disk 1 of 3)[a].zip / NewsFlash - Issue 23 (1992-02)(UGA - NewsFlash Europe)(Disk 1 of 3)[a].adf / startup1 < prev   
Text File  |  1991-12-20  |  3KB  |  86 lines

  1. ; -=============================================================-
  2. ;
  3. ;           Newsflash Issue No.23 - Startup Sequence
  4. ;
  5. ;
  6. ;  Normally we try and keep the sequence as short as possible
  7. ;  and never bother to comment it, but the aim is so that new
  8. ;  users can have a look at what is going on and maybe try a
  9. ;  few things out themselves.
  10. ;  
  11. ;  Users may also find that commenting their scripts is useful
  12. ;  in the beginning if only to keep track of what`s happening.
  13. ;
  14. ;  This file should also easily explain the utilities that are
  15. ;  located in the C (command) directory, you can of course copy
  16. ;  these to your own C dir and use them in the same way.
  17. ;
  18. ;
  19. echo "›0 p"
  20. ;
  21. ;  ECHO is normally used to print a message on the screen, this 
  22. ;  time we have used control characters (which won`t show up on
  23. ;  PPMORE) and this does the job of making the cursor the same
  24. ;  colour of the background, making it invisble and is purely 
  25. ;  included to neaten things up - what a tidy soul I am :-)
  26. c/border off
  27. ;
  28. ;ff >nil: siesta.font
  29. ;
  30. ;  FF is the FAST-FONTS program, not only can we speed up text but
  31. ;  also take advantage of using a better looking font that that horrid
  32. ;  boring, smelly TOPAZ 80. The `m`s are a bit dodgy with the SIESTA.FONT
  33. ;  but its nice to read and comfortable on the eyes.
  34. ;  You can of course get the siesta font for your own use by knicking it
  35. ;  out of the FONTS dir.
  36. ;
  37. ;  The >NIL: bit is whats called `redirecting`, the NIL: device is just
  38. ;  like a trashcan you can send any output to. For instance when you run
  39. ;  Fastfonts, it prints "Fast fonts installed" and other information, but
  40. ;  we can send this to the trash with >NIL: so no text is printed, rather
  41. ;  like the QUIET command of COPY.
  42. ;
  43. ;
  44. ;
  45. ;
  46. ;  Type the first little message onto the screen. The messages were 
  47. ;  prepared with TEXTPAINT, featured on Issue 10 of Newsflash. (very good!)
  48. ;
  49. ;  The type command used is a nice one too, it scrolls the current text off
  50. ;  screen and brings the new text on...
  51. ;
  52. message
  53. ;
  54. ;
  55. ;
  56. ;nf23pack (already run in startup-sequence)
  57. ;  This pack contains all menufiles and the PPmore command to give you
  58. ;  a fast access to all menus and articles in Newsflash. The utility I
  59. ;  use for producing this pack of files was written as a in the house
  60. ;  utility by Daniel Ockeloen, a talented Dutch programmer.
  61. ;
  62. df0:c/assign s: ram:
  63. ;  Because we`ve now got our commands in RAM: we have to tell the Amiga to
  64. ;  stop searching the disk for the commands but look where we have put them,
  65. ;  we do this using assign. So now where it used to look for the C dir on the
  66. ;  disk it looks to ram:  This is known as `assigning logical devices`.
  67. ;  Because C: is a!device, it holds the commands. There`s nothing stopping
  68. ;  you copying your whole C dir to ram (if you`ve enough ram!) and assigning
  69. ;  it with ASSIGN. Then you`ld have a hyper-quick CLI! Even better if you 
  70. ;  use a recoverable ram-disk...
  71. ;
  72. df0:c/zoomwindows quiet
  73. ;  a nice effect if there are windows opened...
  74. ;
  75. df0:c/setmap usa
  76. df0:c/stack 10000
  77. df0:c/powermenu 
  78. ;
  79. ;  Let loose the menu... 
  80. ;
  81. ; AFTER EXIT MENU SYSTEM NEWSFLASH:
  82. ;df0:c/assign s: df0:s
  83. df0:c/setmap ut
  84. df0:menu2
  85.